package com.zerowidth.moc.web.controller.service;

import com.zerowidth.moc.web.resp.ResultBean;
import com.zerowidth.db.bean.BabyBean;
import com.zerowidth.db.bean.vm.BabyRelationVM;
import org.springframework.http.ResponseEntity;

import java.util.List;

public interface BabyService {

    ResponseEntity<ResultBean<BabyRelationVM>> createBaby(String user_id, String relation, BabyBean babyBean);

    ResponseEntity<ResultBean<List<BabyRelationVM>>> getBabyRelationList(String user_id);

    ResponseEntity<ResultBean<BabyRelationVM>> createInviteRelation(String user_id, String invite_code);

    ResponseEntity<ResultBean<Void>> setBabyTop(String babyId);

    ResponseEntity<ResultBean<Void>> deleteBaby(String babyId);

    ResponseEntity<ResultBean<Void>> unFollowBaby(String babyId);

    ResponseEntity<ResultBean<Void>> modifyBabyInfo(String baby_id, String avatar, String nick_name,
                                                    String birthday, int gender);


}
